Skip to main content

printerOutput

Type

property

Summary

Reports what the destination of a print job should be.

Syntax

set the printerOutput to {device | preview | fileSpec}
get the printerOutput

Description

Use the printerOutput property to determine or change the destination of a print job.

Setting the printerOutput to an invalid value will result in a script execution error.

To have an effect, this property must be set before calling open printing.

Examples

set the itemDelimiter to ":"
if item 1 of the printerOutput is "file" then
set the hilite of button "Print To File" of group "Printer Settings" of me \
to true
end if

set the printerOutput to "device"

command: open printing, answer printer

Compatibility and Support

Introduced

LiveCode 2.9

OS

mac

windows

linux

Platforms

desktop

server

Thank you for your feedback!

Was this page helpful?